const stor = require('../sorage/sqlite3');

module.exports = async (req, res) => {
  const users = await stor.getUsers();
  res.writeHead(200);
  res.end(JSON.stringify({ message: users }));
};
